/**
 * omiu tip css based on element ui css
 * Licensed under the MIT License
 * https://github.com/ElemeFE/element/blob/dev/LICENSE
 *
 * modified by dntzhang
 */

:host {
    display: inline-block;
}

:host([block]) {
    display: block;
}

.tip {
    position: absolute;
    background: #fff;
    min-width: 150px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    z-index: 2000;
    color: #606266;
    line-height: 1.4;
    text-align: justify;
    font-size: 14px;
    word-break: break-all;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    min-width: 100%;
}

.tip .tip-arrow,
.tip .tip-arrow::after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid
}

.tip .tip-arrow {
    border-width: 6px
}

.tip .tip-arrow::after {
    content: " ";
    border-width: 5px
}



.tip[data-popper-placement^=top] {
    margin-bottom: 12px
}

.tip[data-popper-placement^=top] .tip-arrow {
    bottom: -6px;
    border-top-color: #ebeef5;
    border-bottom-width: 0
}

.tip[data-popper-placement^=top] .tip-arrow::after {
    bottom: 1px;
    margin-left: -5px;
    border-top-color: #ebeef5;
    border-bottom-width: 0
}

.tip[data-popper-placement^=bottom] {
    margin-top: 12px
}

.tip[data-popper-placement^=bottom] .tip-arrow {
    top: -6px;
    border-top-width: 0;
    border-bottom-color: #ebeef5
}

.tip[data-popper-placement^=bottom] .tip-arrow::after {
    top: 1px;
    margin-left: -5px;
    border-top-width: 0;
    border-bottom-color: #ebeef5
}

.tip[data-popper-placement^=right] {
    margin-left: 12px
}

.tip[data-popper-placement^=right] .tip-arrow {
    left: -6px;
    border-right-color: #ebeef5;
    border-left-width: 0
}

.tip[data-popper-placement^=right] .tip-arrow::after {
    bottom: -5px;
    left: 1px;
    border-right-color: #ebeef5;
    border-left-width: 0
}

.tip[data-popper-placement^=left] {
    margin-right: 12px
}

.tip[data-popper-placement^=left] .tip-arrow {
    right: -6px;
    border-right-width: 0;
    border-left-color: #ebeef5
}

.tip[data-popper-placement^=left] .tip-arrow::after {
    right: 1px;
    bottom: -5px;
    margin-left: -5px;
    border-right-width: 0;
    border-left-color: #ebeef5
}

.tip.is-dark {
    background: #ebeef5;
    color: #FFF
}

.tip.is-light {
    background: #FFF;
}

.tip.is-light[data-popper-placement^=top] .tip-arrow {
    border-top-color: #ebeef5
}

.tip.is-light[data-popper-placement^=top] .tip-arrow::after {
    border-top-color: #FFF
}

.tip.is-light[data-popper-placement^=bottom] .tip-arrow {
    border-bottom-color: #ebeef5
}

.tip.is-light[data-popper-placement^=bottom] .tip-arrow::after {
    border-bottom-color: #FFF
}

.tip.is-light[data-popper-placement^=left] .tip-arrow {
    border-left-color: #ebeef5
}

.tip.is-light[data-popper-placement^=left] .tip-arrow::after {
    border-left-color: #FFF
}

.tip.is-light[data-popper-placement^=right] .tip-arrow {
    border-right-color: #ebeef5
}

.tip.is-light[data-popper-placement^=right] .tip-arrow::after {
    border-right-color: #FFF
}



.fade-enter,
.fade-leave-to {
    opacity: 0;
    padding-top: 10px;
    pointer-events: none;
}

.fade-enter-active,
.fade-leave-active {
    -webkit-transition: opacity .3s cubic-bezier(.55, 0, .1, 1), padding-top .3s cubic-bezier(.55, 0, .1, 1);
    transition: opacity .3s cubic-bezier(.55, 0, .1, 1), padding-top .3s cubic-bezier(.55, 0, .1, 1)
}
